import request from '@/utils/request'

export function partPlanIncomingPage (query) {
    return request({
        url: '/partPlanIncoming',
        method: 'get',
        params: query
    })
}

export function addPartPlanIncoming (data) {
    return request({
        url: '/partPlanIncoming',
        method: 'post',
        data: data
    })
}
export function updatePartPlanIncoming (query) {
    return request({
        url: '/partPlanIncoming',
        method: 'put',
        data: query
    })
}

export function partPlanIncoming (id) {
    return request({
        url: `/partPlanIncoming/${id}`,
        method: 'get'
    })
}
